how to make c# program run cmd commands

65

how to make c# program run cmd commands -

string strCmdText;
strCmdText= "/C copy /b Image1.jpg + Archive.rar Image2.jpg";
System.Diagnostics.Process.Start("CMD.exe",strCmdText);

Comments

Submit
0 Comments